<template>
  <div id="app">
    <router-view />
    <vue-particles
      v-if="this.$route.fullPath != '/page/page3'"
      class="fbaisd"
      color="#dedede"
      :particleOpacity="0.7"
      :particlesNumber="80"
      shapeType="star"
      :particleSize="4"
      linesColor="#FFFFFF"
      :linesWidth="2"
      :lineLinked="true"
      :lineOpacity="0.4"
      :linesDistance="150"
      :moveSpeed="3"
      :hoverEffect="true"
      hoverMode="grab"
      :clickEffect="true"
      clickMode="push"
    >
    </vue-particles>
  </div>
</template>
<script>
export default {
  mounted() {
    console.log("1");

    console.log(this.$route.fullPath == "/page/page3");
  },
};
</script>
<style lang="less">
* {
  margin: 0;
  padding: 0;
}
body::-webkit-scrollbar {
  display: none;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  position: relative;
  background: black;
  width: 100%;
  height: 100vh;
  #particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 10;
  }
}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
